<?php

namespace app\api\v1\validate\auth\login;

use think\Validate;

class LoginByMobileValidate extends Validate
{
    protected $rule = [
        'mobile'   => 'require|mobile',
        'sms_code' => 'require|number|length:4',
    ];
}